import Router from './router.js';

window.router = new Router({
    mode: 'hash',
    routerlist: [{
        path: '',
        title: '首页',
        component: '这是首页'
    },{
        path: 'details',
        title: '详情页',
        component: '这是详情页'
    },{
        path: 'about',
        title: '关于我们',
        component: '这是关于我们页面'
    },{
        path: 'contact',
        title: '联系',
        component: '这是联系页面'
    },{
        path: '*',
        title: '404',
        component: '404 not found'
    }]
})